package com.liuzh.websocket.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.liuzh.websocket.util.AuthImg;

@Controller
public class Pic {
@RequestMapping(value="/authImg")
@ResponseBody
public void getpic(HttpServletRequest request,HttpServletResponse response){
	AuthImg auth = new AuthImg();
	try {
		auth.service(request, response);
	} catch (Exception e) {
		e.printStackTrace();
	}
//	return "authImg";
}
}
